<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
  <h1 v-text="info">这是h1</h1>
  <!--v-model双向绑定 -->
  <input type="text"v-model="info">
</div>
<!--引入Vue-->
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
<script>
  let v = new Vue({
    el:"div",
    data:{
      info:"测试双向绑定"
    }
  })
</script>
</body>
</html>